package pakete2;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.SQLException;
import java.util.Vector;

public interface KudeatzaileInterfazea extends Remote{
	public Vector<Integer> getIrakasleak()throws RemoteException;
	public Integer getTxartela2Urte(int erab_id) throws IllegalStateException, SQLException, ClassNotFoundException, RemoteException;
	public Vector<Integer> getSarbideEskaeraUkatuak(int txartel_id,int hilabeteKop) throws IllegalStateException, SQLException, RemoteException;
//	public void getErabDatuak(int erab_id) throws SQLException, ClassNotFoundException, RemoteException;
//	public String getIrakaslea(int i) throws IllegalStateException, SQLException, RemoteException;
	public int getTxartela(int erab_id) throws IllegalStateException, SQLException, RemoteException;
	public void sortuIntzidentzia(String izena, int txartelKod, String deskribapena) throws IllegalStateException, SQLException, RemoteException;
	public void exekutatuGaldera(String galdera) throws IllegalStateException, SQLException, RemoteException;
	public Class getColumnClass(int zutabe) throws SQLException, ClassNotFoundException , RemoteException;
	public int getColumnCount() throws SQLException , RemoteException;
	public int getNumberOfRows() throws RemoteException;
//	public void mugitu(int i) throws SQLException, RemoteException;
	public String getObject(int i) throws SQLException, RemoteException;
	public String getColumnName(int i) throws SQLException, RemoteException;
	public void setQuery(String query) throws SQLException, RemoteException;
	public Integer getIrakasleId(int i) throws IllegalStateException, SQLException, RemoteException;
	public int getErabiltzaileId(int i) throws IllegalStateException, SQLException, RemoteException;
	public String getErabiltzailea(int i) throws IllegalStateException, SQLException, RemoteException;
	public void mugitu(int i) throws RemoteException;
	public int desgaituTxartela(String txartelkod)throws SQLException, RemoteException;
	public Vector<String> getTxartelak()throws SQLException, RemoteException;
	public int GaituTxartela(String txartelkod)throws SQLException, RemoteException;
	public String erabiltzaileDatuakLortu(String txartelkod)throws SQLException, RemoteException;
	public Vector <String> erabiltzaileakLortu() throws RemoteException;
	public int emanDatuak(String izen, String pasahitz) throws RemoteException;
	public void profilaEsleitu(int i, int erabiltzaileaId)throws RemoteException;
	public void txartelaEsleitu(int erabiltzaileId)throws RemoteException;
}
